/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.servico;

import br.com.deployment.entidade.registroimovel.Averbacao;
import br.com.deployment.entidade.registroimovel.Imovel;
import br.com.deployment.exception.CartorioException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author luciano
 */
@Remote
public interface AverbacaoServico {
    
    void salvar(Averbacao averbacao);
    void atualizar(Averbacao averbacao);
    void remover(Averbacao averbacao);
    Boolean existe(int id);
    Averbacao find(int id);
    List<Averbacao> averbacoes();
    Averbacao findUltima(Imovel imovel);
    List<Averbacao> findAverbacao(Averbacao averbacao);
    List<Averbacao> findAverImovel(Imovel imovel, String order);
}
